package com.hison.tandainbao.service;

import com.hison.tandainbao.entiy.pojo.domain.TbShopInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hison.tandainbao.response.ResponseResult;
import org.springframework.web.bind.annotation.RestController;

/**
* @author hison
* @description 针对表【tb_shop_info】的数据库操作Service
* @createDate 2024-04-01 21:09:22
*/
public interface TbShopInfoService extends IService<TbShopInfo> {

    ResponseResult queryById(Long id);

    ResponseResult queryShopByType(Integer typeId, Integer current, Double x, Double y);

    ResponseResult saveShopInfo(TbShopInfo shop);


    ResponseResult getShopInfo( Integer current);

    ResponseResult adminUpdateStatus(Integer id,Integer status);

    ResponseResult delete(String id);

    ResponseResult getAllByAdmin(Integer current, Integer total);
}
